import { get } from '@/utils/request'

// 获取实时客流
export const get_visitor_center_api = (params) =>
  get('/app/api/personFlow/getRealTimeFlow', params)
// 获取平均游览时长
export const get_average_tour_duration_api = (params) =>
  get('/app/api/personFlow/getRevenueRanking', params)
// 获取客流集中区域
export const get_visitor_concentrated_api = (params) =>
  get('/app/api/personFlow/getFlowFocusArea', params)
// 获取游客来源地
export const get_visitor_source_api = (params) =>
  get('/app/api/personFlow/getPersonFrom', params)
//游客趋势
export const get_visitor_trend_api = (params) =>
  get('/app/api/personFlow/getFlowTrend', params)
//游客画像
export const get_visitor_portrait_api = (params) =>
  get('/app/api/personFlow/getPersonImg', params)
//游客最爱景点
export const get_visitor_favorites_api = () =>
  get('/app/api/personFlow/getPersonFavoriteScenic', null)
//智慧厕所------厕所接口过多
// export const get_smart_toilets_api = (params) =>
//   get('/app/api/personFlow/getRealTimeFlow', params);
//省外top10
export const get_province_top_api = (params) =>
  get('/app/api/personFlow/getOutProvinceTop10', params)
//智慧厕所列表
export const get_wisdom_toilet_list_api = (params) =>
  get('/app/api/equipment/smartToilet/list', params)
//智慧厕所详情
export const get_wisdom_toilet_details_api = (params) =>
  get('/app/api/equipment/smartToilet/getSmartToiletDetail', params)
//客流景点
export const get_tourist_attractions_api = (params) =>
  get('/app/api/personFlow/getFlowScenic', params)
